<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .per{
            width: 300px;
            height: 300px;
            background: pink;
            margin-left: 200px;
            margin-top: 200px;
        }
        .test{
            width: 100px;
            height:100px;
            background: red;
            position: absolute;
            right: 150px;
            bottom: 100px;
        }
        .bro{
            width: 100px;
            height: 100px;
            background: blue;
        }
        body{
            height: 1000px;
        }
    </style>
</head>
<body>
<div class="bro"></div>
<div class="per">
<div class="test"></div>
</div>
</body>
</html>